package com.lin.annotationtest;

import com.lin.annotationtest.annotations.Column;
import com.lin.annotationtest.annotations.Table;

/**
 * 用户实体类
 * @author Zhang
 *
 */
@Table("User")
public class User extends BaseEntity{
	@Column("id")
	private long id;
	@Column("name")
	private String name;
	
	public User(long id, String name) {
		super();
		this.id = id;
		this.name = name;
	}
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
}
